package com.example.qxfw.common.entity.zy;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@TableName("envirostation")
@AllArgsConstructor
@NoArgsConstructor
@ExcelIgnoreUnannotated //不加@ExcelProperty的注解不会参与读写
public class EnviroStation implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "站点编号", required = true, example = "")
    private String stationname;
    @ApiModelProperty(value = "站点名称", required = true, example = "")
    private String stationid;
    @ApiModelProperty(value = "地址", required = false, example = "")
    private String address;
    @ApiModelProperty(value = "经度", required = false, example = "")
    private Double longitude;
    @ApiModelProperty(value = "纬度", required = false, example = "")
    private Double latitude;
    @ApiModelProperty(value = "高程", required = false, example = "")
    private String altitude;
    @ApiModelProperty(value = "测站高度", required = false, example = "")
    private String relheight;
    @ApiModelProperty(value = "监测要素", required = false, example = "")
    private String element;
    @ApiModelProperty(value = "城市", required = false, example = "")
    private String city;

    public String getStationname() {
        return stationname;
    }

    public void setStationname(String stationname) {
        this.stationname = stationname == null ? null : stationname.trim();
    }

    public String getStationid() {
        return stationid;
    }

    public void setStationid(String stationid) {
        this.stationid = stationid == null ? null : stationid.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getAltitude() {
        return altitude;
    }

    public void setAltitude(String altitude) {
        this.altitude = altitude == null ? null : altitude.trim();
    }

    public String getRelheight() {
        return relheight;
    }

    public void setRelheight(String relheight) {
        this.relheight = relheight == null ? null : relheight.trim();
    }

    public String getElement() {
        return element;
    }

    public void setElement(String element) {
        this.element = element == null ? null : element.trim();
    }
}